package com.api.services;

import javax.ws.rs.FormParam;
import javax.ws.rs.POST;
import javax.ws.rs.Path;

@Path("/tokenservice")
public interface OAuthServices {

	@POST
	@Path("/oauth/v1/get_request_token")
	String getRequestToken();

	@POST
	@Path("/oauth/v1/NoBrowserAuthorization")
	String authorizeRequestToken(@FormParam("request_token") String requestToken, @FormParam("username") String username,
			@FormParam("password") String password);

	@POST
	@Path("/oauth/v1/get_access_token")
	String getAccessToken(@FormParam("request_token") String requestToken, @FormParam("username") String username,
			@FormParam("password") String password);
}
